<template>
  <div>Child</div>
</template>

<script>
export default {
  name: "Child",
  // props: ["name"],
  mounted() {
    console.log(this);
  },
  inheritAttrs: false, // $attrs上的属性不会在标签上展示
};
</script>

<style></style>
